From 5ee8e367f26082fb02b40319a019c795571f3f8e Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Mon, 1 Mar 2021 10:57:14 +0100 Subject: [PATCH] automation/alpine: add g++ to the list of build depends MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit clang++ relies on the C++ headers installed by g++, or else a clang build will hit the following error: :3:10: fatal error: 'cstring' file not found #include "cstring" ^~~~~~~~~ 1 error generated. make[10]: *** [Makefile:120: headers++.chk] Error 1 Link: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12492 Reported-by: Stefano Stabellini Signed-off-by: Roger Pau Monné Reviewed-by: Stefano Stabellini Release-Acked-by: Ian Jackson --- automation/build/alpine/3.12.dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/automation/build/alpine/3.12.dockerfile b/automation/build/alpine/3.12.dockerfile index 2c02417ee6..94557e239b 100644 --- a/automation/build/alpine/3.12.dockerfile +++ b/automation/build/alpine/3.12.dockerfile @@ -21,6 +21,7 @@ RUN \ apk add curl-dev && \ apk add dev86 && \ apk add gcc && \ + apk add g++ && \ apk add clang && \ apk add gettext && \ apk add git && \ -- 2.30.2